﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NOSDC.Pocos;

namespace NOSDC.Repositories
{
    public interface IEventsRepository
    {
        IEnumerable<Events> GetAllEvents();
        Events GetUpcomingEvent();
        int CreateEvent(Events e);
        int CreateEvent(Events e, List<int> sponsorids, List<int> speakerids);
        int UpdateEvent(Events e);
        int UpdateEvent(Events e, List<int> sponsorids, List<int> speakerids);
        Events GetEventByID(int id);
        bool AttendEvent(Guid userid, int eventId);
        bool IsAttendingEvent(int eventID, Guid userID);
        IList<EventAttendee> GetAttendees(int eventId);
        IEnumerable<Events> GetPreviousEvents(int numberOfEvents);
    }
}
